package com.example.javabasic.spring.proxy.demo1;
//代理对象
public class HelloProxy implements CustomProxy{
    private CustomProxy customProxy = new CustomProxyImpl1();
    @Override
    public void sayHello() {
        System.out.println("静态代理类执行sayHello 方法 前");
        customProxy.sayHello();
        System.out.println("静态代理类执行sayHello 方法 后");

    }
}
